STEP 6: Now we have everything we need to make a scatter plot!

A scatter plot allows us to show the relationship between two variables.

  • In SUBJECT, click on and drag in Scatter Plot.
  • Change the variable x_data to school.
  • Change the variable y_data to sleep.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)